package com.jingdun.sport.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jingdun.sport.bean.model.Room;
import com.jingdun.sport.bean.model.SportRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SportRecordService extends IService<SportRecord> {

    List<SportRecord> getListTop10(Long sportTypeId);

    public List<SportRecord> getSportRecordList(@Param("params") Map<String, Object> m);

    SportRecord userNewSportProjectBy(Long sportProject, String userId);
}
